package com.itheima.bean;

public class Student {
    private Integer id;         //学生编号
    private String name;        //姓名
    private String age;         //年龄
    private Integer cid;        //班级编号
    private Class classes;
    private Crouse crouse;


    public Student() {
    }

    public Student(Integer id, String name, String age, Integer cid, Class classes, Crouse crouse) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.cid = cid;
        this.classes = classes;
        this.crouse = crouse;
    }


    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", cid=" + cid +
                ", classes=" + classes +
                ", c=" + crouse +
                '}';
    }

    public Crouse getCrouse() {
        return crouse;
    }

    public void setC(Crouse crouse) {
        this.crouse = crouse;
    }

    public Class getClasses() {
        return classes;
    }

    public void setClasses(Class classes) {
        this.classes = classes;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
}
